<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/jsp/common/common.jsp"%>
<html>
	<head>
		<script type="text/javascript" src="<%=contextPath%>/js/validator.js"></script> 
		<script type="text/javascript" language="javascript">  
			Ext.onReady(function(){
				var tb = new Ext.Toolbar({
			   		renderTo: document.all.tbar,
			    	items: [
				        {
				            text: '保存',
				            icon:"<%=contextPath%>/images/save.gif",
				            handler:toCheck
				        }
			    	]
			    });
			});
		  
			function toCheck(){

			  	if(!Validator.Validate(frmM,2)){
				  return false;
			  	}
			  	
			  	comt();
  
		    }   

		 </script>  
	</head>
	<body>
		<div id = "tbar"></div>
		<center>
			<!-- 信息提示 -->
			<div result><font color="red">${info }</font></div>
		</center>
		<form id="frmM" class="ct" name="frmM" method="POST" >
			<table width="100%" id="infotab">
				<tr>
					<th class="rt" width="120" nowrap>
						<font color="red">*</font>&nbsp;用户帐号 ：
					</th>
					<td>
						<input type="text" name="loginId" id="loginId" datatype="Require" maxlength="50" size="30" value="${loginId}" msg="用户帐号输入。"/>
						&nbsp;<div id="result"></div>
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>
<script language="javascript">

	 // 保存
     function comt(){
     	document.frmM.action = "<%=contextPath%>/user!passwordReset.do";
     	document.frmM.submit();
     }

</script>